package com.ming.dancing.springboot.Dao;

import com.ming.dancing.springboot.entity.Course;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface CourseDao {

    List<Course> findAll();

    void save(Course course);

    void delete(Integer id);

    Course find(Integer id);

    void update(Course course);

    //根据舞者id查询课程
    List<Course> getcourselistbyid(Integer dancerid);


}
